]> dgit.raspbian.org Git - gnome-shell.git/commit
st-texture-cache: Plug some pixbuf refcount leaks on async operations
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Apr 2017 09:56:01 +0000 (11:56 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Apr 2017 12:17:59 +0000 (14:17 +0200)
commit44e80f4c46d69d017d495e2ce20d83b4fda66ecf
tree3b47b2990536cce4635775450b49295f0a0e3094
parentcad5e06041c307eb669f73a9d2377540f3105f71
st-texture-cache: Plug some pixbuf refcount leaks on async operations

When extracting the sliced image, the GTask grants data ownership on
g_task_propagate_*, so the pixbuf list must be properly freed. On async
load, we just left a dangling reference when returning on the async
task.

https://bugzilla.gnome.org/show_bug.cgi?id=642652
src/st/st-texture-cache.c